package redisfx.tanh.rdm.ui.common;


import redisfx.tanh.rdm.ui.entity.config.*;
import redisfx.tanh.rdm.ui.entity.config.*;

/**
 * 配置枚举
 * @author th
 */

public enum ConfigSettingsEnum {
    THEME("theme", ThemeSetting.class),
    KEY_TAG("keyTag", KeyTagSetting.class ),
    ADVANCED("advanced", AdvancedSetting.class ),
    SERVER_TAB_PANE("serverTabPane", ServerTabPaneSetting.class ),
    KEY_TAB_PANE("keyTabPane", KeyTabPaneSetting.class ),
    LANGUAGE("Language", LanguageSetting.class ),
    CONVERTER("Converter", CustomConverterSetting.class ),
    ;

    public final String name;
    public final Class<? extends ConfigSettings> clazz;

    ConfigSettingsEnum(String name,Class<? extends ConfigSettings> clazz) {
        this.name=name;
        this.clazz=clazz;
    }
}
